home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / SciAn / src / ScianPreferences.h < prev    next >
C/C++ Source or Header  |  1994-08-01  |  2KB  |  49 lines

  1. /*ScianPreferences.h
  2.   Eric Pepke
  3.   June 15, 1991
  4.   Public stuff for preferences
  5. */
  6.  
  7. /*Preference types*/
  8. #define PT_STRING    1        /*String*/        
  9. #define PT_YNBOOL    2        /*Yes/no boolean*/
  10. #define PT_AMBOOL    3        /*Automatic/manual boolean*/
  11. #define PT_AFFINT    4        /*Automatic/fast/full integer*/
  12. #define PT_SFBOOL    5        /*Safe/fast bool*/
  13. #define PT_RPINT    6        /*RGB/PostScript integer*/
  14.  
  15. /*Values for drawMoving*/
  16. #define DM_FULL        0        /*Draw with full res while moving*/
  17. #define DM_SKELETON    1        /*Draw as skeleton while moving*/
  18. #define DM_AUTO        2        /*Automatically choose based on speed*/
  19.  
  20. /*Available preferences, start with 0 and grow contiguously*/
  21. #define PREF_DEFDIR        0    /*Default directory to open*/
  22. #define PREF_ROTINERTIA     1    /*Inertia on rotation?*/
  23. #define PREF_NEWWINPLACE    2    /*New window placement*/
  24. #define PREF_DRAWMOVING        3    /*Draw while moving*/
  25. #define PREF_STAGGERICONS    4    /*Stagger icons?*/
  26. #define PREF_SAVESCREEN        5    /*Save screen as what kind of file*/
  27. #define PREF_NAPWHENIDLE    6    /*Nap when idle*/
  28. #define PREF_RECKLESSGC        7    /*Reckless garbage collection*/
  29. #define NPREFERENCES        8
  30. #define NRELEASEPREFERENCES    7    /*Number of release preferences*/
  31.  
  32. #ifdef PROTO
  33. void InitPreferences(void);
  34. Bool PrefExists(int);
  35. char *GetPrefString(int);
  36. Bool GetPrefTruth(int);
  37. long GetPrefInteger(int);
  38. void DoShowPreferences(void);
  39. void KillPreferences(void);
  40. #else
  41. void InitPreferences();
  42. Bool PrefExists();
  43. char *GetPrefString();
  44. Bool GetPrefTruth();
  45. long GetPrefInteger();
  46. void KillPreferences();
  47. void DoShowPreferences();
  48. #endif
  49.